package quoridorDecisionMaker;

import quoridor.*;

public abstract class AbstractDecisionMaker implements DecisionMaker{
	Board board;
	
	public AbstractDecisionMaker(Board board) {
		this.board = board;
	}
	
	protected Board getChildBoard(Board currentBoard, Move childMove) {
		Board childBoard;
		
	    childBoard = new QuoridorBoard(currentBoard.getHistory());
	    childBoard.makeMove(childMove);
	    
	    return childBoard;
	}
	
	public abstract Action getAction();
}
